Skip to content

Conversation

@Bre77
Copy link
Member

@Bre77 Bre77 commented Jan 8, 2026

Added three Teslemetry-specific API endpoints from the OpenAPI schema:

  • fields(): GET /fields.json - retrieves streaming field parameters and metadata
  • vehicle_config(vin): GET /api/vehicle_config/{vin} - gets saved vehicle configuration
  • streaming_config(vin): GET /api/config/{vin} - gets streaming configuration including certificate, hostname, port, and telemetry fields

Also updated the documentation with examples for using these new endpoints.

claude added 3 commits January 8, 2026 08:47
Added three Teslemetry-specific API endpoints from the OpenAPI schema:
- fields(): GET /fields.json - retrieves streaming field parameters and metadata
- vehicle_config(vin): GET /api/vehicle_config/{vin} - gets saved vehicle configuration
- streaming_config(vin): GET /api/config/{vin} - gets streaming configuration including certificate, hostname, port, and telemetry fields

Also updated the documentation with examples for using these new endpoints.
Added missing Teslemetry-specific endpoints:

Main Teslemetry class (teslemetry.py):
- vehicle_image(vin): GET /api/image/{vin} - redirect to Tesla Design Studio vehicle image
- stop_streaming(vin): DELETE /api/config/{vin} - stop streaming data from vehicle
- modify_streaming_config(vin, fields): PATCH /api/config/{vin} - modify streaming configuration
- create_streaming_config(vin, fields): POST /api/config/{vin} - create/update streaming configuration

TeslemetryVehicle custom commands (vehicles.py):
- clear_pin_to_drive(pin): POST /api/1/vehicles/{vin}/custom_command/clear_pin_to_drive - deactivate PIN to Drive
- remove_key(): POST /api/1/vehicles/{vin}/custom_command/remove_key - remove all impermanent keys

Updated documentation with examples for all new endpoints.

All endpoints verified against https://api.teslemetry.com/openapi.yaml
@Bre77 Bre77 merged commit d858609 into main Jan 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants